import java.util.Scanner;

public class Nz {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        System.out.print("请输入购买理财产品的金额（单位：元）：");
        double principal = scanner.nextDouble();

        System.out.print("请输入年利率（百分比）：");
        double annualInterestRate = scanner.nextDouble() / 100.0;

        double totalAmount = principal * (1 + annualInterestRate);

        System.out.println("一年后投资赎回时，您将获得的本息总额为：" + totalAmount + " 元。");
    }
}
